home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Choice 3
/
Your Choice Software Collection 3.iso
/
os2_drv
/
valuewri
/
update.bat
< prev
next >
Wrap
DOS Batch File
|
1994-05-10
|
4KB
|
152 lines
echo off
if .%1==. goto noarg
goto got_arg
:noarg
rem #####No arguments given, display message and exit.
echo
echo This batch file updates 1-2-3 Release 2.3 and
echo 1-2-3 Release 2.4 with new Wysiwyg extended
echo printer drivers. To update your copy of 1-2-3
echo insert the diskette into a diskette drive,
echo make that drive the current drive, and
echo type UPDATE C:\123r24
echo where C:\123r24 is the disk and directory path
echo for 1-2-3 and the INSTALL program.
echo Your disk and directory path may be
echo different so after returning to DOS,
echo make sure you confirm the disk and directory
echo path before attempting to update 1-2-3 again.
echo
echo For more information, view or print the L2README.1ST file.
echo
goto the_end
:got_arg
rem ###Check for 2.3 and/or 1-2-3 for Home
if not exist %1\ins23.exe goto rel24
echo
home %1
IF ERRORLEVEL 1 GOTO FORHOME
sam23 %1
IF ERRORLEVEL 1 GOTO SAMB23
echo 1-2-3 Release 2.3 found in %1
echo
echo Any key to continue Update, Ctrl-Break to abort
pause
echo Updating Install program....
echo
pkunzjr -o ins24 %1\
del %1\ins23.exe
ren %1\ins24.exe ins23.exe
echo Adding New Wysiwyg fonts....
echo
pkunzjr -o L2XIFL %1\WYSIWYG\
echo Unpacking Release 2.3 drivers....
echo
pkunzjr -o upd23.zip
echo
echo 1-2-3 Update files have been installed. To take advantage of the
echo new printer drivers, you must now run the 1-2-3 Install program.
echo
goto Use_install
:FORHOME
echo
echo 1-2-3 for Home was found in %1
echo
GOTO wrong_version
:SAMB23
rem ##This is a copy of 2.3 that was previously updated
echo 1-2-3 Release 2.3 updated version found in %1
echo
echo Any key to continue Update, Ctrl-Break to abort
pause
echo Updating Install program....
echo
pkunzjr -o ins24 %1\
del %1\ins23.exe
ren %1\ins24.exe ins23.exe
echo
echo Adding New Wysiwyg fonts....
echo
pkunzjr -o L2XIFL %1\WYSIWYG\
echo Unpacking Release 2.3 updated drivers....
echo
pkunzjr -o upd23.zip
echo
echo 1-2-3 Update files have been installed. To take advantage of the
echo new printer drivers, you must now run the 1-2-3 Install program.
echo
goto Use_install
:rel24
rem ###Check for 2.4
if not exist %1\ins24.exe goto wrong_version
echo
echo 1-2-3 Release 2.4 found in %1
echo
echo Any key to continue Update, Ctrl-Break to abort
pause
echo Updating Install program....
echo
del %1\ins24.exe
pkunzjr -o ins24 %1\
echo Adding New Wysiwyg fonts....
echo
pkunzjr -o L2XIFL %1\WYSIWYG\
echo Unpacking Release 2.4 drivers....
echo
pkunzjr -o upd24.zip
echo
echo 1-2-3 Update files have been installed. To take advantage of the
echo new printer drivers, you must now run the 1-2-3 Install program.
echo
:use_install
echo Now you must change to the %1 disk and directory
echo and start the Install Program. After you start Install
echo you must go through through the following steps:
echo
echo - Change Selected Equipment -
echo
echo - Add new Drivers to Library - specify this diskette drive
echo
echo - Modify current Driver set -
echo
echo - Select drivers - (re) select drivers for your printer
echo
echo - Save the Driver set -
echo
echo - Generate Fonts - ( Basic, Medium or Extended )
echo
echo - Exit Install -
echo
echo For more information, view or print the L2README.1ST file.
echo
goto the_end
:wrong_version
echo
echo Lotus 1-2-3 Release 2.3 or 2.4
echo was not found in %1
echo
echo Please verify that %1
echo is the correct drive and path to your 1-2-3 files
echo and also that the 1-2-3 INSTALL.EXE program is there.
echo
echo If the drive and path are correct, then your version of 1-2-3
echo is not capable of using the new drivers.
echo
echo If you have 1-2-3 for Home, then you cannot use the
echo new drivers.
echo
echo Call Lotus at 1-800-TRADEUP for upgrade information.
:the_end